<template>
	<page-body>
		<view class="page">
			<web-view class="szr" :src="url" :style="{ position: 'absolute', top: (0 + StatusBarRpx) + 'rpx', bottom: '0', width: '100%' }" />
		</view>
	</page-body>
</template>

<script>
	export default {
		data() {
			return {
				typr:0,//0数据大屏 1 智慧驾驶舱 2异常 3风险 4巡更
				url:''
			};
		},
		onLoad(option) {
			console.log(option)
			// let link='https://aixf.zhuaizhuaiyu.com/h5/daping/'
			
			let id=uni.getStorageSync('USER_XQ')
			let name=option.type==0?'dashuju':option.type==1?'jiashicang':option.type==2?'yichang':option.type==3?'fengxian':option.type==4?'xungeng':option.type==5?'rcxungeng':option.type==6?'fengxianpg':option.type==7?'zhuanxiangjiancha':option.type==8?'yinhuanpc':''
			// this.url=link+name+'.html?id='+id
			let link=uni.getStorageSync('DP_url')
			console.log(link)
			this.url='https://aixf.zhuaizhuaiyu.com/bg725/index.html'
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #ffffff;
	}
	.szr{
		margin-top: auto;
		height: 99%;
	}
	.rl{
		position: fixed;
		// bottom: ;
		z-index: 99999999999;
	}
</style>